home *** CD-ROM | disk | FTP | other *** search
/ Micromanía: 150 Juegos 2009 / 150Juegos_15.iso / Harry Potter y el Msterio del Príncipe / HP_HBP_PEGI_DEMO.exe / Redistributable / product.xml next >
Encoding:
Extensible Markup Language  |  2008-08-13  |  1.7 KB  |  47 lines

  1. ∩╗┐<?xml version="1.0" encoding="utf-8" ?> 
  2.  
  3. <Product
  4.   xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"
  5.   ProductCode="Microsoft.Visual.C++.8.0.x86"
  6. >
  7.  
  8.   <!-- Defines list of files to be copied on build -->
  9.   <PackageFiles>
  10.     <PackageFile Name="vcredist_x86.exe"/>
  11.   </PackageFiles>
  12.  
  13.   <InstallChecks>
  14.     <MsiProductCheck Property="VCRedistInstalled" Product="{A49F249F-0C91-497F-86DF-B2585E8E76B7}"/>
  15.   </InstallChecks>
  16.   
  17.   <!-- Defines how to invoke the setup for the Visual C++ 8.0 redist -->
  18.   <!-- TODO: Needs EstrimatedTempSpace, LogFile, and an update of EstimatedDiskSpace -->
  19.   <Commands Reboot="Defer">
  20.     <Command PackageFile="vcredist_x86.exe" 
  21.          Arguments=' /q:a ' 
  22.          >
  23.  
  24.       <!-- These checks determine whether the package is to be installed -->
  25.       <InstallConditions>
  26.         <BypassIf Property="VCRedistInstalled" Compare="ValueGreaterThanOrEqualTo" Value="3"/>
  27.         <!-- Block install if user does not have admin privileges -->
  28.         <FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired"/>
  29.  
  30.         <!-- Block install on Win95 -->
  31.         <FailIf Property="Version9X" Compare="VersionLessThan" Value="4.10" String="InvalidPlatformWin9x"/>
  32.  
  33.         <!-- Block install on NT 4 or less -->
  34.         <FailIf Property="VersionNT" Compare="VersionLessThan" Value="5.00" String="InvalidPlatformWinNT"/>
  35.  
  36.       </InstallConditions>
  37.       
  38.       <ExitCodes>
  39.         <ExitCode Value="0" Result="Success"/>
  40.         <ExitCode Value="3010" Result="SuccessReboot"/>
  41.         <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" />
  42.       </ExitCodes>
  43.       
  44.     </Command>
  45.   </Commands>
  46. </Product>
  47.